package com.cloud.lan.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cloud.lan.api.dto.req.LanManageUserReq;
import com.cloud.lan.api.dto.req.LanUserReq;
import com.cloud.lan.entity.base.BaseResponse;
import com.cloud.lan.entity.model.dataobject.LanManageUserDO;

import java.util.LinkedHashMap;
import java.util.List;

/**
 * <p>
 * 管理系统用户表 服务类
 * </p>
 *
 * @author xyqierkang@163.com
 * @since 2021-12-13
 */
public interface ILanManageUserService extends IService<LanManageUserDO> {

    /**
     * 登录
     * @author ErKang
     * @param request
     * @return com.cloud.lan.base.BaseResponse<java.lang.Object>
     * 2021/12/13 02:05
     */
    BaseResponse<Object> login(LanManageUserReq request);

    /**
     * 查询 用户信息 列表
     * @author ErKang
     * @param request
     * @return com.cloud.lan.base.BaseResponse<java.lang.Object>
     * 2021/12/13 02:05
     */
    BaseResponse<Object> manageList(LanUserReq request);

    /**
     * 用户导出
     * @author ErKang
     * @return java.util.List<java.util.LinkedHashMap < java.lang.String, java.lang.Object>>
     * 2022/1/11 02:17
     * @param beginDate
     * @param endDate
     */
    List<LinkedHashMap<String, Object>> exportUser(String beginDate, String endDate);
}
